home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
comm3
/
mcf4amrc.lha
/
MCF4AmIRC
/
Rexx
/
MCF_FSEND.AMIRX
< prev
next >
Wrap
Text File
|
1996-04-14
|
879b
|
43 lines
/* MCP_FSEND.AMIRX
\\ Written by Donald T. Becker (dtbecker@postoffice.ptd.net) IRC: StarDustr
// Please mail any bug reports/comments to the above address with a subject
\\ header of MCF.AMIRX.
//
\\ ** What to do with this file?
// Put this script in REXX: It will be used by MCF.AMIRX.
*/
arg auth Rnick junk Fnum junk
MCFenv = address()
xl = pos(".", MCFenv)
Client = substr(MCFenv, xl + 1)
FSC = "FSERV." || Client
Flag = getclip(FSC)
if Flag = "N" then do
"RAW PRIVMSG "Rnick" :The File Server is not Available at this time."
exit
end
ppos = pos("#", Fnum) + 1
epos = pos(".", Fnum)
if ppos = 1 | epos < ppos then exit
Fcnt = substr(Fnum, ppos, epos - 2)
call open("Input", "MCF:MCF.FSend", "R")
do cnt = 1 by 1 until cnt = Fcnt
xx = readln("Input")
end cnt
call close("Input")
parse value xx with xnum Fname junk
"say /DCC SEND" Rnick Fname
exit